import { connect } from 'react-redux';
import { delete_completed, census_check_num } from '../store/actionCreator';
import footer from '../component/footer';
const mapStateToProps = (state, ownProps) => {
    return {
        activeNum:state.activeNum
    }
}
const mapDispatchToProps = (dispatch, ownProps) => {
    return {
        deleteChecked: () => {
            dispatch(delete_completed());
            dispatch(census_check_num());
        }
    }
}
const footers = connect(
    mapStateToProps,
    mapDispatchToProps
)(footer)
export default footers;